<h2 class="title">{%if $act eq 'add'%}添加{%else%}修改{%/if%}合同设备</h2>
<form action="index.php?c=zy_mc_log&m={%$act%}&post=1" method=post name=frm enctype="multipart/form-data" onSubmit="return Validator.Validate(this,3)">
<table class="tb_term" width="100%">
<tr>
	<td class="tr_td_width01 alignright">中文名称</td>
	<td><input type=text name="mc_cn_name" value='{%$mc_cn_name%}' class="input_edit_stand txt-normal" dataType="Require" msg=""></td>
	<td class="tr_td_width01 alignright">英文名称</td>
	<td class="tr_td_width03"><input type=text  name="mc_en_name" value='{%$mc_en_name%}' class="input_edit_stand txt-normal"></td>
</tr>
<tr>
	<td  class="alignright">规格型号</td>
	<td><input type=text name="mc_model" value='{%$mc_model%}' class="input_edit_stand txt-normal" dataType="Require" msg=""></td>
	<td class="alignright">合同单价</td>
	<td><input type=text name="price"  value='{%$price%}' class="input_edit_num txt-normal"><label class="label01">万元</label></td>
</tr>
<tr>
	<td class="alignright">合同数量</td>
	<td>
		<input type=text name="mc_no"  value='{%$mc_no%}' class="input_num_small txt-normal" {%if $is_edit %}readonly{%/if%} dataType="Number" msg="">
		<label class="label01">&nbsp;单位</label>
		<input type=text name="unit"  value='{%$unit%}' class="input_num_small txt-normal">
	</td>
	<td class="alignright">设备制造厂商</td>
	<td>
		<input type=text class="input_date_edit txt-normal" name="mc_make_comp" value='{%$mc_make_comp%}'   />		
	</td>
</tr>

<tr>
	<td class="alignright">设备类别</td>
	<td colspan="3">
		<select name="mc_type" class="select_edit txt-normal">
		<option value="0" label="请选择">请选择</option>
			{%html_options options=$smc_type selected=$mc_type %}
		</select>		
	</td>
</tr>
</table>
<p class="btn_right">
	<input type="hidden" name="sell_reply_id" size=30 value='{%$sell_reply_id%}'>
	<input type=hidden name='mc_log_id' id='mc_log_id' value='{%$mc_log_id%}'>
	<input type=hidden name='contract_no' id='contract_no' value={%$smarty.get.contract_no%}>
	<button type="submit" class="b-default"><span><em>{%if $act eq 'add'%}提交{%else%}更新{%/if%}</em></span></button>	
	<button type="button" class="b-default" onclick="history.go(-1)"><span><em>返回</em></span></button>	
</p>
</form>